package com.meilingcloud.biobank.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meilingcloud.biobank.domain.StockSamples;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 出入库单据与样本复份关联 Mapper接口
 *
 * @author chenl
 * @date 2021-03-15
 */
public interface StockSamplesMapper extends BaseMapper<StockSamples> {

    /**
     * 根据单据id获取关联样本
     */
    List<StockSamples> selectStockSampleByOrder(@Param("stockId") String stockId);

}
